﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for DAL_Advertise
/// </summary>
public class DAL_Advertise : clsConnection
{
    DataTable dt = new DataTable();
    public DataTable DAL_Advertise_getImagesByPosition(int position)
    {
        try
        {
            dt = ExcuteQuery("SELECT * FROM  Advertise WHERE status = 1 AND position = "+position+" ORDER BY [order]");
        }
        catch
        {
        }
        return dt;
    }
}